home *** CD-ROM | disk | FTP | other *** search
- //////////////////////////////////////////////////////////////////////////////
- //
- // Copyright 1997-99 Pandemic Studios
- //
- // Dark Reign II
- //
-
- CreateObjectType("objective_allfleeing", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("AND")
- {
- Condition("VarConstInteger", "@.flee1", "==", 1);
- Condition("VarConstInteger", "@.flee2", "==", 1);
- }
-
- Action()
- {
- NewObjective("objective_wait_a_tick");
- }
- }
- }
-
- CreateObjectType("objective_wait_a_tick", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("Timer")
- {
- Time(60);
- }
-
- Action()
- {
- ExecuteScript("GetOnTheShuttle", "gcshuttle", 10000)
- {
- Op("%.tag", "=", "AllTraitors");
- Op("%.region", "=", "NearShuttle");
- }
- }
- }
- }
-
-